For integral types, & computes the logical bitwise AND of its operands.
对于整型,& 计算操作数的逻辑按位“与”。
Performs a bitwise and on two expressions, and assigns the result to the first argument.
在两个运算式上执行位元AND,并将结果指派给第一个引数。
Therefore, if the length value is between 0 and 127, I can simply perform a bitwise and operation between the length and 0xff.
因此,如果长度值在0到127之间,那么我可以只执行该长度与0xff之间的一个按位AND操作。
应用推荐